home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 740 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: newsserver.trl.OZ.AU!rhea!aduncan
  2. From: aduncan@rhea.trl.OZ.AU (Allan Duncan)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: avail flush no longer does
  5. Date: 11 Jan 1996 03:29:52 GMT
  6. Organization: Telecom Research Laboratories, Melbourne, Australia.
  7. Message-ID: <4d207g$1fj@newsserver.trl.OZ.AU>
  8. References: <oj6u426px3s.fsf@hpsrk.fc.hp.com>
  9. NNTP-Posting-Host: rhea.trl.oz.au
  10.  
  11. From article <oj6u426px3s.fsf@hpsrk.fc.hp.com>, by koren@hpsrk.fc.hp.com (Steve Koren):
  12.  >
  13.  >Since time immortal, avail flush has caused unused but resident
  14.  >libraries to be flushed from RAM.  There are makefiles that depend on
  15.  >this.  I could watch the libs go away with a monitor tool.
  16.  >
  17.  >It suddenly stopped working on my system.  I don't understand why.  I
  18.  >wrote a little program that just tries to allocate 800 Mb, and this
  19.  >correctly causes the libs to be flushed, so it wouldn't seem to be a
  20.  >problem with the libraries themselves.  (This little program compiled
  21.  >with nostartup in SAS is a whopping 68 *bytes* :-))
  22.  >
  23.  >The problem isn't specific to one particular library - they all behave
  24.  >identically.  None go away with "avail flush" but they all do with
  25.  >"AllocVec(lotsamem)".
  26.  >
  27.  >This behavior seems to survive reboots and power cycles.  It started
  28.  >happening very suddenly, and I don't think I did anything unusual
  29.  >beforehand.
  30.  >
  31.  >Anyone know what the scoop is?  I've verified that I'm running the real
  32.  >avail command from C:.
  33.  
  34. I had a bit of a look on my system.  2.04, using Xoper to see what was
  35. there.  I had a number of libraries loaded that had use counts of zero
  36. that did not unload, but on loading a library with Bill Hawes' loadlib,
  37. _it_ did unload.  The ones that sit there are asl, locale, commodities
  38. and diskfont.  Don't ask me why. (Oh I tried the 3.1 avail too, but I'm
  39. not going to reboot in 3.1 just at the moment).
  40.  
  41. Allan Duncan            Photonics & Reference Standards Section
  42. (+613) 9253 6708        Telstra (formerly Telecom) Research Labs
  43. Fax    9253 6664        Box 249 Rosebank MDC, Clayton, Victoria, 3169
  44. Internet a.duncan@trl.telstra.com.au     Australia
  45.